package com.qfedu.aunt.commons.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qfedu.aunt.commons.pojo.Agent;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 经纪人表 服务类
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-26
 */
public interface AgentService extends IService<Agent> {
    /**
     * 通过城市名字分页获取经纪人信息
     * @param cityName
     * @param currentPage
     * @param pageSize
     * @return
     */
    IPage<Agent> findAgentByCityNameAndPage(String cityName, Integer currentPage, Integer pageSize);
}
